package com.bawei.login.state

import com.bawei.common.state.BaseUiState
import com.bawei.login.entity.UserEntity

sealed class AccountUiState: BaseUiState(){

    object EmptyState: AccountUiState()

    data class LoginToServerSuccess(val userEntity: UserEntity): AccountUiState()
    data class LoginToServerFail(val msg: String): AccountUiState()

    data class RegisterToServerSuccess(val userEntity: UserEntity): AccountUiState()
    data class RegisterToServerFail(val msg: String): AccountUiState()


}
